// uni.removeStorageSync('CHAT')
import Vue from 'vue'
import App from './App'
import store from './store'
import back from './components/header-back/index.vue'
import search from './components/search/index.vue'
import locationFuc from './utils/location'
import { register, RongIMLib, chatRecord } from './utils/rongyun'
// import {initIm, jim} from './utils/chat'

Vue.config.productionTip = false
register()
Vue.component('back', back)
Vue.component('search', search)

Vue.prototype.$store = store
Vue.prototype.$chatRecord = chatRecord
Vue.prototype.$register = register
Vue.prototype.$locationFuc = locationFuc
Vue.prototype.$RongIMLib = RongIMLib
const app = new Vue({
    store,
    ...App
})
app.$mount()